#include <string>
class Task
{
public:
	Task():name(name), s(0), f(0) {};
	Task(const std::string &name, const int & s, const int & f):name(name), s(s), f(f) {};
	void setS(const int & s);
	int getS() const;
	void setF(const int & f);
	int getF() const;
	void setName(const std::string &name);
	std::string getName() const;
	void setNext(Task *next);
	Task *getNext() const;
private:
	int s;
	int f;
	Task* next;
	std::string name;
};


